<?php

use Illuminate\Support\Facades\DB;
use Illuminate\Database\Seeder;

class AddressTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        DB::table('addresses')->insert([
            'postcode'=>'614000',
            'address'=>'四川省乐山市翰林印象2-4-601',
            'phone'=>'13990628510',
            'teacher_id'=>1,
        ]);
        DB::table('addresses')->insert([
            'postcode'=>'614001',
            'address'=>'四川省乐山市乐山师范学院10幢2-201',
            'phone'=>'13881349284',
            'teacher_id'=>2,
        ]);

        DB::table('addresses')->insert([
            'postcode'=>'614003',
            'address'=>'四川省乐山市青年广场4幢2-603',
            'phone'=>'13770628990',
            'teacher_id'=>3,
        ]);
        DB::table('addresses')->insert([
            'postcode'=>'614004',
            'address'=>'四川省乐山市心新广场2幢2-1005',
            'phone'=>'13370627889',
            'teacher_id'=>4,
        ]);
        DB::table('addresses')->insert([
            'postcode'=>'614005',
            'address'=>'四川省乐山市蔚蓝城市幢2-607',
            'phone'=>'13680628996',
            'teacher_id'=>5,
        ]);
        DB::table('addresses')->insert([
            'postcode'=>'614006',
            'address'=>'四川省乐山市女神苑4幢8-609',
            'phone'=>'13135677740',
            'teacher_id'=>6,
        ]);
        DB::table('addresses')->insert([
            'postcode'=>'614007',
            'address'=>'四川省乐山市赛公桥1幢2-303',
            'phone'=>'13870321990',
            'teacher_id'=>7,
        ]);
        DB::table('addresses')->insert([
            'postcode'=>'614008',
            'address'=>'四川省乐山市嘉州新城满庭芳13幢5-103',
            'phone'=>'13277941556',
            'teacher_id'=>8,
        ]);

    }
}
